package com.itwn.mapper;

import com.itwn.entity.Seat;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SeatMapper {
    int deleteByPrimaryKey(Integer seatId);

    int insert(Seat record);

    Seat selectByPrimaryKey(Integer seatId);

    List<Seat> selectAll();

    int updateByPrimaryKey(Seat record);

    List<Integer> selectAllSeats(Integer scheduleId);
}